<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .my-div {
            width: 400px;
            height: 80px;
            /* border: 1px solid green; */
        }
        
        .my-text {
            color: #2e1506;
            font-size: 17px;
        }
        
        .forget {
            float: left;
            /* clear: both; */
        }
        
        .login {
            /* float: right; */
            clear: both;
        }
    </style>
</head>

<body>
    <div class="my-div">
        <div class="my-text forget">忘记密码?</div>
        <div class="my-text login">手机号登陆</div>
    </div>
</body>

</html>